home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch07 / 07fig10.wrl < prev    next >
Text File  |  1996-09-23  |  622b  |  38 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Wing
  8.         DEF Wing Transform {
  9.             scale 0.5 1.0 1.5
  10.             children Shape {
  11.                 appearance DEF White Appearance {
  12.                     material Material { }
  13.                 }
  14.                 geometry Cylinder {
  15.                     radius 1.0
  16.                     height 0.025
  17.                 }
  18.             }
  19.         },
  20.     # Fuselage
  21.         DEF Fusalage Transform {
  22.             scale 2.0 0.2 0.5
  23.             children Shape {
  24.                 appearance USE White
  25.                 geometry Sphere { }
  26.             }
  27.         },
  28.     # Wing detail and fusalage dome
  29.         Transform {
  30.             scale 0.3 2.0 0.75
  31.             children [
  32.                 USE Wing,
  33.                 USE Fusalage
  34.             ]
  35.         }
  36.     ]
  37. }
  38.